package meijuli.com.join51.business.serviceprovide;

import meijuli.com.join51.business.model.serviceprovide.OrderData;
import meijuli.com.join51.business.model.serviceprovide.OrderPayData;
import meijuli.com.join51.business.model.serviceprovide.PayInfo;
import meijuli.com.join51.business.model.serviceprovide.ServiceProviderPayStatus;
import meijuli.com.join51.business.model.serviceprovide.ServiceShop;

import java.util.List;

/**
 * Contract
 *
 * @author Wizong 2017-05-19 13:09
 */
public class Contract {

    interface ServiceProviderView {
        void payList(PayInfo payInfo);

        void serviceShopList(List<ServiceShop> serviceShops);

        void serviceShopOrder(OrderData orderData);

        void orderPay(OrderPayData orderPayData);

        void serviceProviderPayStatus(ServiceProviderPayStatus status);

        void error(String msg);
    }

    interface ServiceProviderPresenter {
        void getPayList();

        void getServiceShopList();

        void serviceShopSubOrder(String spSettingId, String businessPhone);

        void getOrderPay(String orderId, String payType);

        void checkRecharge(String outTradeNo);
    }
}
